﻿using System.Linq.PageList;
using Dyao.Book.Contract;

namespace Dyao.Book.Application.Abstractions
{
    public interface ICommonApplication
    {
        /// <summary>
        /// 获取操作日志分页数据
        /// </summary>
        /// <param name="pageFilter">过滤条件</param>
        /// <param name="cancellationToken">取消令牌</param>
        /// <returns></returns>
        Task<IPageList<OperationLogResultDto>> GetOpLogPageListAsync(IPageFilter<OperationLogFilterDto> pageFilter, CancellationToken cancellationToken = default);
    }
}
